﻿using gt.IdentityServer.Services;
using IdentityModel;
using IdentityServer4.Models;
using System.Collections.Generic;
using System.Linq;

namespace gt.IdentityServer.Extensions
{
    /// <summary>
    /// AppUser Identity Resource
    /// </summary>
    public class AppUserIdentityResource : IdentityResource
    {
        public AppUserIdentityResource()
            : base("appuser", new List<string> { "username", "showname", JwtClaimTypes.Gender, "age", "group", "role" })
        {
           
        }
    }
}
